<?php

/*
  Action	$3

  Take the last action you played in your last turn from your discard pile and play it immediately.
  If your discard pile doesnt contain any actions from previous turn +action +card

 */

class Checkpoint extends Card implements iAction, iKingdom, iAddiction {

    public function __construct() {
        parent::__construct("Check Point", 3);
        $this->undoPlay = false;
        $this->undoBuy = true;
    }

    public function isImplemented() {
        return false;
    }

    public function play(Game $game, $isRealCard) {
        $game->getDiscardDeck();
		
		$game->cardActionFinished();
        return true;
    }

}

?>